/**
 * f-club.cn
 * Copyright (c) 2009-2012 All Rights Reserved.
 */
package com.mjee.app.service;

/**
 * 
 * @author michael
 * @version $Id: AbstractService.java, v 0.1 2012-8-16 下午4:40:22 michael Exp $
 */
public interface BaseService<TYPE> {
    
	/* Examples;
	 * add
	 * remove
	 * edit
	 * find
	 * query
	 */
	
    public int add(TYPE instance);
    
    public int remove(int primaryId);
    
    public int edit(TYPE instance);
    
    public TYPE find(int primaryId);
    
}
